package com.recipedb.recipedb.service;

import com.recipedb.recipedb.entity.Step;
import java.util.List;
import java.util.Optional;

public interface StepService {
    Step save(Step entity);
    void deleteById(Long id);
    Optional<Step> findById(Long id);
    List<Step> findAll();
    Optional<Step> partialUpdate(Long id, Step entity);
    List<Step> findByRecipeId(Long recipeId);

    void updateImagePath(Long id, String imagePath);
    void clearImagePath(Long id);
}
